package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;

@Data
@ApiModel("订单催发货消息创建参数")
public class OrderUrgeMsgCreateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "userId参数缺失")
    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @NotNull(message = "orderSn参数缺失")
    @ApiModelProperty(value = "订单号")
    private String orderSn;

    @NotNull(message = "orderId参数缺失")
    @ApiModelProperty(value = "订单ID")
    private Integer orderId;

    @NotNull(message = "orderStatus参数缺失")
    @ApiModelProperty(value = "订单状态 0=未发货, 1=已发货, 2=已取消")
    private Integer orderStatus;

    @NotNull(message = "remark参数缺失")
    @ApiModelProperty(value = "备注")
    private String remark;

    @NotNull(message = "extend参数缺失")
    @ApiModelProperty(value = "扩展字段")
    private String extend;

}
